import {
  UploadOutlined,
  UserOutlined,
  VideoCameraOutlined,
} from "@ant-design/icons";

export const setIcon = (str: string) => {
  switch (str) {
    case "UploadOutlined":
      return <UploadOutlined />;
    case "UserOutlined":
      return <UserOutlined />;
    case "VideoCameraOutlined":
      return <VideoCameraOutlined />;

    default:
        return <UploadOutlined />;
  }
};
